<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    children

    <script>
      console.log('i1111', i)
      for (var i = 0; i < 5; i++) {
        console.log('i', i)
      }
      console.log('i222222', i)

      // const socket = new WebSocket(
      //   'ws://127.0.0.1:5500/code/webpack/parent.html'
      // )

      // // Connection opened
      // socket.addEventListener('open', function (event) {
      //   socket.send('Hello Server!')
      // })

      // socket.send('Hello Server!')

      // // Listen for messages
      // socket.addEventListener('message', function (event) {
      //   console.log('Message from server ', event.data)
      // })
    </script>
  </body>
</html>
